﻿using System.Reflection.Emit;

namespace RougamoDemo
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Add(1, 2);
            AddAsync(1, 2);
            Divide(1, 2);
        }

        [Logging]
        static int Add(int a, int b) => a + b;

        [Logging]
        static Task<int> AddAsync(int a, int b) => Task.FromResult(a + b);

        [Logging]
        static decimal Divide(decimal a, decimal b) => a / b;

    }
}
